package com.wh.minihelp.flower.domain;

import com.wh.db.domain.IDBase;

/**
 * 系统红花类型
 * 
 * @author washheart@163.com
 */
public class SysFlower extends IDBase {
	/**
	 * 区分红花是加分，还是减分
	 */
	public static final int ADD = 0, SUB = 1;

	/**
	 * 小孩名称
	 */
	private String name;

	/**
	 * 头像路径
	 */
	private String imgPath;
	/**
	 * 类型：0=加分=SysFlower.ADD；1=减分=SysFlower.SUB
	 */
	private int type = SysFlower.ADD;
	/**
	 * 备注
	 */
	private String remark;

	public SysFlower(String id, String name, int type) {
		this.id = id;
		this.name = name;
		this.type = type;
	}

	@Override
	public String toString() {
		return name + "[" + (type == ADD ? "加" : "减") + "]";
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImgPath() {
		return imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}